<template>
  <span @click="toSearch()">搜索</span>
</template>

<script>
export default {
  methods: {
    toSearch() {
      this.$router.push("/search");
    },
  },
};
</script>

<style>
</style>